
bool send(int sockfd, const char* buffer)
{
	int n = write(sockfd, buffer, strlen(buffer));
	if(n < 0) {
		std::cerr << "ERROR writing to socket" << std::endl;
		return false;
	}
	return true;
}
